﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once
#include <cstdint>
namespace gcmp
{
    /// \brief 链接加载结果
    enum class LinkLoadResult : int32_t
    {
        Unknown = 0,           ///< 未知结果
        Loaded = 1,            ///< 已加载
        NotFound = 2,          ///< 链接文件找不到
        NotOpenable = 3,       ///< 链接文件打不开
        OpenAsHost = 4,        ///< 已经作为主文档被打开
        SameModelAsHost = 5,   ///< 和主文档相同
        IsFamilyFile = 6,      ///< 链接文件为族文件
        AlreadyLinked = 7,     ///< 在该次链接之前已链接至主文档
        NeedUnload = 8         ///< 重新指定文件链接需要在unload下操作
    };
}
